package com.derek.omshopping;/**
 * Created by ThinkPad on 2016/10/20.
 */

import android.app.Application;
import android.content.SharedPreferences;

import cn.smssdk.SMSSDK;

/**
 * 作者：ThinkPad on 2016/10/20 14:27
 * 邮箱：212740182@qq.com
 */
public class MyApp extends Application {

    public String mLoginUser;
    @Override
    public void onCreate() {
        super.onCreate();

        SMSSDK.initSDK(this, "1823a549ad2b8", "d160d9e7193a9d10ba2307303ca69f78");
        SharedPreferences sharedPreferences = getSharedPreferences("loginData", MODE_PRIVATE);
        mLoginUser = sharedPreferences.getString("loginUser", "0");

    }
}
